
#ifndef UI_SETTING_POLICY_H
#define UI_SETTING_POLICY_H

#include "sys_port.h"
#include "page_base.h"
#include "page_manager.h"
#include "list.h"

typedef struct 
{
    lv_coord_t x;
    lv_coord_t y;

    lv_obj_t * bg;
    lv_obj_t * img;
    lv_obj_t * lab;

} ui_policy_t;

typedef struct 
{
    int id;
    ui_policy_t ui;
    slist_t 	e_tail;
} ui_link_t;

typedef struct 
{
    lv_obj_t * title;

    lv_obj_t * img_bg;
    lv_obj_t * img_esc;

    lv_obj_t * p_list;

    slist_t *  e_head;

    int len ;

} ui_setting_policy_t;


page_vtable_t* lv_page_setting_policy_create(void);

#endif
